import { http } from "@/utils/http";
import { AxiosPromise } from "axios";
import { DictDataQuery } from "@/api/dict/types";

export function dictListAll(dictType: string): AxiosPromise<DictDataQuery[]> {
  return http.request({
    url: "/system/dict/data/type/" + dictType,
    method: "get"
  });
}
